MProgressBar – A progress bar without any attached panel.


Creation: MProgressBar_New(otext$, animate, x, y, pixelwidth)


otext$ - The text shown centered on the progress bar.

animate – Animation mode. 0=none; 1=fast; 2=fancy

x – Pixel X coordinate for the top left corner of the progress bar.

y – Pixel Y coordinate for the top left corner of the progress bar.

pixelwidth – The width of the progress bar in pixels.


Functions:

MProgressBar_Delete(index)

Deletes the progress bar.


MProgressBar_Draw(index)

Draws the progress bar to screen.


MProgressBar_SetColorPrimary(index, color)

Sets the main color of the progress bar.


MProgressBar_SetColorSecondary(index, color)

Sets the blink color of the progress bar.


MProgressBar_SetColorText(index, color)

Sets text color of the progress bar.


MProgressBar_SetText(index, text$)

Sets text of the progress bar.


MProgressBar_SetRaw(index, value#)

Sets progress value. 0.0-1.0; Skips any animated effects.


MProgressBar_SetValue(index, value#)

Sets progress value. 0.0-1.0; Animation mode determines how fast the bar changes.